package com.powernode.feign;

import com.powernode.domain.Prod;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(name = "product-service")
public interface CollectionToProdFeign {
    @PostMapping("prod/prod/loadProdById")
    List<Prod> loadProdById(@RequestBody List<Long> ProdIds);
}
